wayland: Do not check the pointer focus when receiving wl_pointer.frame
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Apr 2016 12:10:24 +0000 (13:10 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Apr 2016 13:14:33 +0000 (14:14 +0100)
The frame event is also meant to compress wl_pointer.leave events, at this
point the focus surface will be definitely NULL. In the end, wl_pointer.frame
should flush the last composed event despite the pointer focus.

https://bugzilla.gnome.org/show_bug.cgi?id=765065

gdk/wayland/gdkdevice-wayland.c

index cfd209f65603cbc3a48ac72a8040a556b7409229..4dc498a5c7db23c43b33e9d780734dbfbca5ea31 100644 (file)
@@ -1467,9 +1467,6 @@ pointer_handle_frame (void              *data,
 {
   GdkWaylandSeat *seat = data;
 
-  if (!seat->pointer_info.focus)
-    return;
-
   GDK_NOTE (EVENTS,
             g_message ("frame, seat %p", seat));